<?php

namespace common\models;

use Yii;

/**
 * This is the model class for table "me_task_dabao".
 *
 * @property integer $id
 * @property integer $taskid
 * @property integer $ispack
 * @property string $pfop
 * @property integer $created_at
 * @property integer $updated_at
 */
class TaskDabao extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'me_task_dabao';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['taskid'], 'required'],
            [['taskid', 'ispack', 'created_at', 'updated_at'], 'integer'],
            [['pfop'], 'string'],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => '自增ID',
            'taskid' => '任务ID',
            'ispack' => '是否打包',
            'pfop' => '打包地址',
            'created_at' => '创建时间',
            'updated_at' => '更新时间',
        ];
    }
}
